﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PrivilegesRole.aspx.cs"  MasterPageFile="~/Master/MasterPage2.master" Inherits="HZ.Supervise.Web.Admin.PrivilegesRole" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="tabnav">
        <ul>
            <li class="active"><a href="javascript:void(0);">特殊权限</a></li>
        </ul>
    </div>
    <div id="tabcontent">
        <table class="querylist">
            </table>
    </div>
    <asp:GridView ID="gvwChildUserList" class="mainlist" runat="server" AutoGenerateColumns="False"
        DataKeyNames="UserID" OnRowDataBound="gvwChildUserList_RowDataBound" EmptyDataText="暂无符合要求的数据！"
        OnRowCommand="gvwChildUserList_RowCommand" OnRowCancelingEdit="gvwUser_RowCancelingEdit"
        OnRowEditing="gvwChildUserList_RowEditing" OnRowUpdating="gvwChildUserList_RowUpdating">
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                    <%#Container.DataItemIndex + 1 + AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex-1) %></ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="UserID" HeaderText="用户ID" ReadOnly="true" />
            <asp:TemplateField HeaderText="用户名称">
                <ItemTemplate>
                    <asp:Label ID="Label1" runat="server" Text='<%# Bind("UserName") %>'></asp:Label>
                </ItemTemplate>
                <EditItemTemplate>
                    <asp:TextBox ID="txtUserName" runat="server" Text='<%# Bind("UserName") %>'></asp:TextBox>
                </EditItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="操作">
                <ItemTemplate>
                <a href='UserUpdate.aspx?uid=<%#Eval("UserID")%> '><asp:Label runat="server" ID="lblSet" Text="权限设置" ToolTip="点击进入设置用户的操作权限"></asp:Label></a>
                    <%--<asp:CheckBox ID="chkChildUser" runat="server" value='<%#Eval("UserID")%>'/>--%>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
     <div class="page">
    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_OnPageChanged"
    >
    </webdiyer:AspNetPager>
    </div>
    <div class="listip">
        <ul>
            <li>说明:<span> </span></li>
        </ul>
    </div>
    <div class="listctrl">
        <hz:HzButton ID="btnBatResetPws" runat="server" OnClick="btnBatResetPws_Click" OnClientClick="if (!confirm('确实要保存？')) { return false;}"
            Text="保存" CssClass="btn" Visible="False" />
              &nbsp; &nbsp;
        </div>
</asp:Content>